package com.kern.academic.dto;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 *
 *  权限列表树形结构节点
 * Created by caoshi at 20:42 2021-08-06
 */
public class RightsNode implements Serializable {

    private static final long serialVersionUID = 8413833516092123757L;

    @Getter @Setter
    private String id;
    @Getter @Setter
    private String name;
    @Getter @Setter
    private String parentId;
    @Getter @Setter
    private boolean exist;      // 是否是当前角色已经拥有的
    @Getter @Setter
    private List<RightsNode> children;

}
